<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

</body>
<script>
  "use strict";
  const show = ({
    x = 1,
    y = 2,
    z = 3
  } = {}) => {
    console.log(x + y + z);
  };
  show();
  show({
    x: 2
  });
  show({
    x: 2,
    z: 4
  });
</script>


</html>